import java.rmi.*;

public interface RMI_ServerInterface extends Remote
{
    public void registerClient(RMI_ClientInterface client, String username, String password) throws RemoteException;
    public void loginClient(RMI_ClientInterface client, String username, String password) throws RemoteException;
    public void logout(String user) throws RemoteException;
    public void uploadFile(RMI_ClientInterface client) throws RemoteException;
    public void deleteFile(String fileName) throws RemoteException;
    public void getReadCopy(RMI_ClientInterface client, String fileName) throws RemoteException;
    public void discardReadCopy(String username, String fileName) throws RemoteException;
    public void getEditCopy(RMI_ClientInterface client, String fileName) throws RemoteException;
    public void discardEditCopy(String username, String fileName) throws RemoteException;
}
